package com.skeleton.db.entity;

import com.skeleton.db.dto.BlogTagUserDto;

public class BlogTagUser {

	private int tag_user_id;
	private String loginname;
	private String tagname;
	private int seq;

	public BlogTagUserDto toDto() {
		BlogTagUserDto dto = new BlogTagUserDto();
		dto.setTagUserId(tag_user_id);
		dto.setLoginname(loginname);
		dto.setTagname(tagname);
		dto.setTagSeq(seq);
		return dto;
	}

	public int getTag_user_id() {
		return tag_user_id;
	}

	public void setTag_user_id(int tag_user_id) {
		this.tag_user_id = tag_user_id;
	}

	public String getLoginname() {
		return loginname;
	}

	public void setLoginname(String loginname) {
		this.loginname = loginname;
	}

	public String getTagname() {
		return tagname;
	}

	public void setTagname(String tagname) {
		this.tagname = tagname;
	}

	public int getSeq() {
		return seq;
	}

	public void setSeq(int seq) {
		this.seq = seq;
	}

}
